This annex contains details of some additional techniques that may be used in some Operations processes. The techniques included are:
These are covered in detail in the following sections.
Minimising the impact of events, alarms, alerts and warnings is a fundamental element of the provision of quality ICT services. This activity often relies heavily on the scripting and configuration of management tools in event analysis, control, escalation and management. Therefore, the capability of developing, testing and implementing robust scripts is an invaluable asset within an Operations organisation.
Almost every control language has the ability to support the writing of scripts. Scripts are commands strung together in a simple text file and then executed by the Operating System or the management software as if the commands were typed in one after another. Almost every command language will evolve into some sort of programming language. With each new version, ‘improvements’ will add functionality and this new functionality will be used. Adapting an attitude of ‘structured programming’ instead of ‘scripting on the fly’ will prove beneficial in the long term. Script files will be CIs just like any other asset and should be subject to Change Management.
The need for comment and explanation within these scripts is evident, but the main reasons are:
Here is an example of how to make a script readable. It is written by NASA as part of a program listing for the Apollo, steering computers that put the Apollo safely on the Moon and then brought its crew home again. In those days, scripting was not an issue; everything was done by programming languages that were created for specific machines.
Figure 4C.1 is an example of a piece of coding ready to be assembled to a bit-stream for the processor to execute. Note how the listing shows clearly:
Figure 4C.1 – NASA Program listing.
Click here to view a
larger version in a new browser window.
When dealing with domains, MOs and sets of MOs, it is helpful to have a little background knowledge of set theory, the mathematical description of set characteristics. Since this is not a publication on mathematics, only the essential understanding of set theory will be described here.
A set is a collection of elements. The elements in a set are said to be ‘members’ of the set and are also called objects – in this case MOs. The elements in the set can be defined in any way one chooses. For example, all servers are members of the ‘server set’. All elements or objects are said to be members of the ‘universal set’. This set contains all elements and objects and all sets of elements.
It is important to define the Universal Set with much care, as elements outside the Universal Set cannot be addressed. The definition of sets and the possibilities that are a consequence of those sets should all work towards the objective of exerting control and management over the complete ICT infrastructure.
A subset is a set in its own right but with an additional specified attribute. It would, therefore, have fewer elements than the full set. For example, all Unix servers are members of the subset ‘Unix Server Set’. The null set or empty set is the set that contains no elements. A set loses this title once an element with all the attributes required for the set is found and hence becomes a member of the set.
A union is the addition of two or more sets. Members added to any of the sets will become a member of the union.
An intersection is the enumeration of element(s) satisfying the rules of membership for two or more sets.
When defining sets it is necessary to determine the Universal Set. This might be, for example:
Some of the most commonly used determinants for sets are:
Although it is often very tempting to have the name of an MO reflect something or everything about its function, location or set membership, it is inadvisable to do so. Sets can be used for many different types of operational activity, for example:
ICT infrastructure components have different performance properties and characteristics and therefore behave differently within the operational environment. The analysis of their performance and the subsequent tuning of their operation must recognise and account for these differences. The Capacity Management process is ultimately responsible for performance management. Therefore, any actions taken by Operations within this area should always be in conjunction with, if not under the direction of, Capacity Management.
When different elements near their saturation point, they each behave in a different way. A processor, for instance, cannot run at half throttle. When a system resource monitor tool indicates a 50% load on a processor, this means that half of the instructions that are being processed are program instructions, either from applications or from the operating system itself, and the other half are so-called NOP instructions (No Operation or null instruction). Putting these program instructions and NOP instructions together, one arrives at 100% processor load or full throttle – the CPU is always fully on or fully off, never half on.
The reason that a system monitor tool will indicate the percentage of program instructions being processed by the processor is that 100% often means that more than 100% is required. In this case, there will be a queue of program instructions waiting for the processor to process, which means a shortage of processing power. Depending on the specific situation appropriate measures must be taken. A processor load of 90% may be nothing to worry about: every instruction will be executed with the same speed as when the processor load is 5%.
The most common cause for 100% processor load, and thus very likely a more than 100% processor load, is a poorly written application. An application might enter what is known as a loop, the continuous processing of a small number of program instructions, which can only be interrupted if a specific condition is met. The application code, however, specifies this condition in such a manner that it can never be met. The constant execution of the instructions in the loop will cause the system monitor tool to display a processor load of 100% because all the NOP instructions now make way for the loop instructions. Depending on the processor-sharing mechanism this could also adversely affect other programs executing concurrently on the same processor: they will slow down or come to a halt. This, of course, requires action from the Operations staff. The course of action is to ‘kill’ the process that is running the program with the loop instruction and try and force that process to print out a listing of the contents of the memory space, so it can be analysed to pinpoint the offending instructions.
There are a large number of tools and techniques to aid writing applications to prevent these errors, but the deciding factor is still human and that is how many of these logical errors originate.
When memory nears it saturation point, all activity on the system will experience delays. The reason for this delay is the fact that most of the memory available is in the form of virtual memory. This is an imitation of internal memory on a slower and cheaper medium, often hard disk, transparent to the system, but an imitation nonetheless. The more demand there is for memory, the more apparent the drawbacks of the virtual memory becomes. The drawback is often speed: the difference in speed between solid state memory and a hard disk is in the range of one or two orders of magnitude.
There are a number of techniques to be used to lessen the speed penalty:
Consider a configuration that is running at 80% of its maximum performance. The first tuning effort may gain half of the unused performance potential. In turn, the second tuning effort may gain half of the unused performance potential and the third tuning effort may gain half of the unused performance potential.
Assume that the tuning efforts carry the same cost. This translates for the first tuning effort in a gain of 10% (half of 20%). The second tuning effort will gain 5% (half of the remaining 10%). The third and last tuning effort will gain 2.5% (half of the remaining 5%).
In economic terms this means that the second tuning effort is twice as expensive as the first and the third tuning effort is four times as expensive as the first!
The more a configuration is tuned, the less benefit is received. The law of diminishing returns is proved in practice yet again.
Providing the design, manufacture and deployment of any configuration within the ICT infrastructure is properly carried out, most out-of-the box configurations are reasonable. If there are, however, specific requirements or demands, the parameter set of the MOs involved will need to be adapted. It is imperative that a solid understanding of the workings and required functionality of the MO and the way the parameter settings influence their functionality is established, before any changes to the parameter set are implemented. The same type of MO will be configured quite differently depending on its required function.
Every component of the ICT infrastructure is to a certain extent general purpose. The supplier or manufacturer does not exactly know in which situation the component is to perform in what way. It is the responsibility of Operations to know exactly what function each component is there to perform. Therefore, each and every component needs to be tuned to perform its required function effectively. Initially this will involve setting the parameters of the MO to values that satisfy the requests made on its functionality. This will be satisfactory for most of the time.
However, there often remains ‘room for improvement’. This opportunity occurs because of the experience gained over time with a particular MO, because of changes in other parts of the infrastructure, or because of changes in the way this MO is utilised.
The ‘need for improvement’ is often a consequence of volume growth, although it could also be the result of poor design or poorly controlled changes.
Tuning is the activity undertaken to progress from using a resource, to using a resource optimally. This is where performance tuning comes in. By setting parameter values, it is often possible to improve the performance of an MO. Note that an improvement does not necessarily mean more of this or more of that (or even less of this or less of that for that matter). Tuning an MO or set of MOs from ‘it’s okay’ to ‘its optimum’ is just as much an improvement as any other.
Improvements, essentially, are either quantitative or qualitative. For example, enlarging the buffers for a network interface card can result in higher throughput and thus a quantitative improvement. Limiting the number of virtual circuits running over a data link can decrease ‘packet drops’, which means a steadier connection and thus a quality improvement.
There are a number of manufacturers offering ‘tuning’ or ‘performance’ tools. These tools are often platform specific and are sometimes provided by the platform manufacturer.
A well-known pitfall of tuning is the ‘sub-optimisation pitfall’. All attention and effort is put into the ultimate performance of one or two MOs. Apart from being uneconomical in the usage of time and resources it is also often counterproductive. Alleviating one bottleneck only exposes the next bottleneck in the sequence. Bottlenecks are an inherent part of any ICT infrastructure. A complex ICT infrastructure can be considered to consist of a series of bottlenecks as illustrated in Figure 4C.2.
Figure 4C.2 – The bottleneck effect.
Click here to view a
larger version in a new browser window.
The way in which these bottlenecks hinder the normal operation of the ICT infrastructure is of course dependent on the demand placed on the infrastructure by the ICT services that use it. It is also dependent upon the speed and throughput of the ‘narrowest’ bottleneck. Even though subsequent bottlenecks may be wider, the end-to-end performance will still be constrained by the effects of the slowest link. Also, even though the speed and throughput of the constraining bottleneck may be doubled, this benefit may not be fully realised because of the effect of another slow bottleneck on the end-to-end route of the service traffic may now become a limiting factor. The effects of ‘sub-optimisation’ can only be overcome by considering the end-to-end picture of the overall infrastructure.
Poor performance can have many causes; the most common are listed below: